﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Model
{
    /// <summary>
    /// 员工资料
    /// </summary>
    public class corecmsemployee
    {
        /// <summary>
        /// 序列
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
        public Int32 id { get; set; }

        [SqlSugar.SugarColumn(ColumnName = "parentId", IsNullable = true)]
        public Int32 parentId { get; set; }

        /// <summary>
        /// 门店id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "storeId", IsNullable = true)]
        public Int32 storeId { get; set; }

        /// <summary>
        /// 部门id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "departmentId", IsNullable = true)]
        public Int32 departmentId { get; set; }

        /// <summary>
        /// 员工姓名 
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "name", IsNullable = true)]
        public String name { get; set; }

        /// <summary>
        /// 手机号码
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "mobile", IsNullable = true)]
        public String mobile { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "sex", IsNullable = false)]
        public Int32 sex { get; set; }

        /// <summary>
        /// 生日
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "birthday", IsNullable = true)]
        //public Date birthday { get; set; }
        public String birthday { get; set; }

        [SqlSugar.SugarColumn(ColumnName = "nickName", IsNullable = true)]
        public String nickName { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "isDelete", IsNullable = false)]
        public Boolean isDelete { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "createTime", IsNullable = true)]
        public DateTime createTime { get; set; }

        [SqlSugar.SugarColumn(ColumnName = "areaName", IsNullable = true)]
        public String areaName { get; set; }

        [SqlSugar.SugarColumn(ColumnName = "hobby", IsNullable = true)]
        public String hobby { get; set; }

        [SqlSugar.SugarColumn(ColumnName = "wechatNumber", IsNullable = true)]
        public String wechatNumber { get; set; }

        /// <summary>
        /// 是否默认
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "isDefault", IsNullable = true)]
        public Int32? isDefault { get; set; }
    }
}
